package com.njsf.service;

import com.njsf.dto.ResponseJson;
<<<<<<< HEAD
=======
import com.njsf.pojo.User;
>>>>>>> 180ace60693232df69575b4f82fc34aeb3fc90e8

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    ResponseJson checkLogin(String username, String pwd, HttpServletRequest request);
<<<<<<< HEAD
=======

    /*注册成功添加用户到数据库*/
    ResponseJson addUser(User user);

    /*查询是否有重复命名的用户*/
    ResponseJson selectByUsername(String username);

    int activeUserByActiveCode(String activeCode);
>>>>>>> 180ace60693232df69575b4f82fc34aeb3fc90e8
}
